* {
  margin: 0;
  padding: 0;
}
body {
  line-height: 1.4em;
  background: #f5f5f5;
  color: #111111;
  min-height: 100vh;
  margin: 0 auto;
  font-family: "Helvetica Neue";
}

ul {
  list-style: none;
}
/* 设置点击无边框 */
input {
  outline: none;
}
/* 标题“todos”设置字体 */
header {
  height: 100px;
}

header h1 {
  height: 100%;
  font-size: 80px;
  font-weight: 400;
  text-align: center;
  color: #b83f45;
  line-height: 100px;
}
/* --------中间输入部分设置------------------ */
section {
  text-align: center;
}

.input_line {
  white-space: nowrap;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 25px 50px 0 rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  width: 550px;

  /* 解决高度塌陷 */
  overflow: hidden;
}
/* 全选按钮设置 */
.input_line label {
  font-size: 24px;
  background-color: white;
  writing-mode: tb-rl;
  line-height: 50px;
  height: 60px;

  /* 清除行内块和块级的间隙 */
  float: left;

  margin-right: -5px;
}

/* 删除按钮样式 */
.destroy {
  border: none;

  font-size: 30px;
  color: #b83f45;
  opacity: 0;
  background-color: white;
}

.input_line li:hover .destroy {
  opacity: 0.5;
}
.input_line li:hover .destroy:hover {
  opacity: 1;
  transition: 0.5s;
}

/* 输入框设置  */
.list_input,
.mission {
  caret-color: #c0c0c0;
  width: 450px;
  height: 60px;
  vertical-align: top;
  font-size: 22px;
  border-style: none;
}


.list_input {
  width: 500px;
  text-indent: 0.5em;
}

.list_input::placeholder {
  color: #989898;
  font-style: italic;
}
/* 分割线设置 */

.input_line,
.list > li {
  border-bottom: 1px solid #ededed;
}
/* 待办列表设置 */
.list {
  background-color: white;
  margin-top: 1px;
}

.list li {
  line-height: 60px;
}

.list li label {
  width: 50px;

  /* background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%22-10%20-18%20100%20135%22%3E%3Ccircle%20cx%3D%2250%22%20cy%3D%2250%22%20r%3D%2250%22%20fill%3D%22none%22%20stroke%3D%22%23bddad5%22%20stroke-width%3D%223%22/%3E%3Cpath%20fill%3D%22%235dc2af%22%20d%3D%22M72%2025L42%2071%2027%2056l-4%204%2020%2020%2034-52z%22/%3E%3C/svg%3E"); */
  background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%22-10%20-18%20100%20135%22%3E%3Ccircle%20cx%3D%2250%22%20cy%3D%2250%22%20r%3D%2250%22%20fill%3D%22none%22%20stroke%3D%22%23ededed%22%20stroke-width%3D%223%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center left;
}

/* 选项卡设置 */
.filter {
  line-height: 50px;
  text-align: left;
  float: left;
  width: 550px;
  height: 50px;

  background-color: white;
}
.filter li {
  float: left;

  border: 1px solid transparent;
  height: 20px;
  line-height: 20px;

  padding: 3px 10px;
  margin: 3px;
  border-radius: 3px;
  margin-top: 12px;

  cursor: pointer;
}

.filter li:nth-child(2) {
  margin-left: 50px;
}

/* 删除已完成按钮设置 */
.filter .des_comp {
  float: right;
}

.filter .des_comp:hover {
  text-decoration: underline;
}
/* 底部信息说明设置 */

footer {
  clear: both;
  font-size: 10px;
  text-align: center;
  color: #4d4d4d;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
